<?
            if(count($ctx->idea) > 0) {
            	for($i=0; $i<count($ctx->idea); $i++)
                {
?>
<table width="100%" border="1" cellspacing="0" cellpadding="0">
<tr>
<td>sdhflsdhfdsfh
</td>
</tr>
</table>
<? 
                        }
                        } else { ?>
                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
						  <tr>
							<td align="center">No Ideas Posted</td>
                          </tr>
                        </table>
                        <? } ?>